package com.shop.cereshop.commons.domain.buyer;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 宠圈搜索记录实体类
 */
@Data
@TableName("cere_pet_search")
public class CerePetSearch implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 宠圈搜索 id
     */
    @TableId(type = IdType.AUTO)
    private Long searchPetId;

    /**
     * 搜索内容
     */
    private String searchContent;

    /**
     * 搜索类型：1-话题, 2-动态
     */
    private String searchType;

    /**
     * 搜索内容 id
     */
    private Long searchContentId;

    /**
     * 搜索用户 id
     */
    private Long searchUserId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
